Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum





Can @For and @While works on Web?
~Samuel Elachek 12/19/2003 02:29 AM
Domino Designer 6.0.2 CF2 Windows 2000


Dear all,
Can @For be used on Web Application? I have tried but it seems like does not work. My formula is as below :

@For(n := 1;
n <= @Elements(AllStaff);
n := n + 1;
@SetField("Leave"+@Text(n); AllStaff[n]);
xKey := @Text(@Year(@Today)) + Applicant+AllStaff[n];
Tkn_process :=@DbLookup("":"NoCache"; @DbName; "WLS"; xKey; "NoOfDay");Tot :=@If(@IsError(@Sum(Tkn_process)); 0; @Sum(Tkn_process));
@SetField("Day"+@Text(n); Tot))

Go back